from django.urls import path, re_path

from App import views

urlpatterns = [
    path('', views.index),
    path('getstudents/', views.get_students),
    path('temp/', views.temp),
    path('home/', views.home),
    path('hehe', views.hehe),
    path('hehehe', views.hehehe),

    path('grades/', views.grades),
    re_path('students/(\d+)/', views.students),
    re_path('gettime/(\d+)/(\d+)/(\d+)/', views.get_time, name='get_time'),
    re_path('getdate/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/', views.get_date, name='get_date'),
    path('learn/', views.learn, name='learn'),
    path('haverequest/', views.have_request),
    path('createstudent/', views.create_student),
    path('docreatestudent/', views.do_create_student, name='do_create_student'),
]